made a new version of the main function that includes a couple of different functions that will be useful in printing out in n3