Added guess method implementation