Code for my CSC151 class.