simple java program that pairs students together