Josh and Daniel's 331 programming assignment