implemented correct algorithm
added status and guesses