Gil

- Created applyMoveToGrid
- Fixed formatting
- Other OCD stuff