First, you should break the problem down rather than copy and pasting someone else's code with seemingly no idea how it works. That's one of the hardest yet most important problems with programming -...