This is the first version of my code for EDPY479 Assignment 6