Implemented guessing algorithm-mockup