1) Documentation on all functions!
2) Made it so that the character sprite only flips when changing direction