Implemented moving for the square... we should migrate the code over for the triangle. I've demarcated the code that will need to be moved in long trails of //////////////////////////'s