adding useful comments
even more comments
a lot of useful comments, especially for key movement logic