Initial commit of solution to programming challenge 4

Lucas sent me this for lab 3.