my coding homework for Mr Kennedy's 2nd year coding class
computing 101 for the tutorial though i tweaked it slightly