Finished Code

Added final code and everything.