Final Project Code

Cleaned code
Orentation not working always