Testing keyboard input

Also fixed tile generation- working on more efficient checking system