Update main.java

Added the pi command.