Simmulation of Projectile motion