version 1, assignment 7.1

move if/else statements on assignment 3.1 to one line.
assignment 6.1 and 7.1 are still pending
i think these could be a little more descriptive. what's in them?