second commit: prevent player from moving offscreen and add image