Update XBoner.java

Updated Conventions and added simple if else statements to onstart and loop