Simple java application for online quiz