java programing for IST256 assignment