Final Version

Finalized the program