Assignment 2

took the example, changed the variable names to be meaningful, used an
if else to be more efficient so only have to have one  return. Added
usage guide and unit test results.