Added player acceleration

Changes are made in the update() method.