to move use the arrow keys there is a slight problem with the blocks that will be in the way a.k.a if you are right next to one and use the left or right arrow keys you will go through the block . I might update it but right now I'm still working on the code .
this has the code needed for movement and what happen when you touch walls