1st Attempt at session 1 homework