Finished the program so that it works. Just need to clean up; Resolves #41