Fixed rotation function.
Cleaning comments a bit.
Refactored drop/collision check function.

Added checks for game board sides, and movement/checks are also done after keypress actions now.