Java programs to do meticulous stats problems