Added input working properly

+ correct movement
+ correct map generation and player drawing