More functionality for the player

Made walking, jumping and running animations. Still basic. Need to tweak
a few things and add moving towards the left as well. Use this code to
understand how I'm working. I shall create functions to make work easier
later on.