Java implementation of a dynamic slots machine engine