CompSci Project in Java