Well, that's not exactly my idea. I saw video with something similar to that while searching for information about SAT. It was stunning for me how simply and cool was that. So i take it as inspiration and code it by myself. Sorry for not to mention that from begining. Anyway thanks for respond. And beside that what i was looking for was some opinions about structure of the code. Not sure though if it's complex enough to review this code in that way.