Add getKeyCode function

-Create switch statement to list key down events
-List key codes 37-40 to indicate arrow movements of blocks
Change check move function to reflect desired actions

-change getRandomPiece name to getRandomBlock to follow logic
Merge pull request #8 from eddiekimosabe/get_key_code

Get key code