UPDATE: Player movement

Created funcionality of player movement and also redrawing a graph.