java assignments & problems from CS101