Wrote the typo program
Changed all time variables to be longs