Code for my CSE-2431 class.