Implemented lateral player movement

Also, added exception handling and assertions