Update Animationexample.java

Shows how to add key pressed functions and move basic shapes. Also shows how to use a spritesheet