assignment three for foundations of computer science ii 6625213