basic implementation
fixed bug with velocity when changing directions
fixed wiggling issue
adding fps meter