Added interaction module, putting everything together in main, fixed bug in logic.randomPair (did not take new puzzle structure into account)