Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I'd try to prevent using variable names consisting only of a few characters.
Also the computation of the next generation, even it's correct, takes your colleagues time to mentally "parse" the binding of the operators. Instead i'd use to operations.
Hi, i'd suggest removing the comments and the system out debugging in the final solution in order to make it more readable.