Created main Java Bayes file