updates to pre-lab, better printing ouf xton result in main method