CS 3240 term project