Computing probabilities using generating function. Still need to fix issues with landscape mode. Currently locking screen in portrait. A well, weird bug popped up when testing on my real device that I cannot replicate in the emulator.