cs 240 project 4