This is sort of translation of a Haskell version and done while learning Ruby and PySide. Work in progress. Plans: GUI implemented with PySide Communication between Ruby and Python programs using BERT-RPC Travis-ci: Code coverage: