refactor guess method,create marker class