Got (a really simple version of) program5 for cs520 working. Some parts are currently really simple, but some are quite complicated