Simple java scripts for Computer Science