Attempting to get problem 12 done… I think I've overcomplicated it.