Java implementation of Synthetic Intelligence experiment