added acceleration on movement, jump and gravity to player