A Teaching Method by Using Self-Organizing Map for Reinforcement Learning