Updated ViewController file and communication between ViewController and GridView to reflect rubric comments.
Moved  offset calculations to helper functions

-added wrappers for horizontal and vertical offset
-added underlying math function
Finished formatting the math for offsets

-changed magic numbers to constants
-formatting of the math if separate in separate functions
Fixed formatting of comments. Finished assignment 5
Merge pull request #1 from kateaplin/kate_dev

Kate dev