7/22

cleaned up code, added useful comments, added helper method, and deleted useless code/comments.