This is a java program which compares speed difference between if statements