Create IMP Questions in Java