Reinforcement Learning for Photonic Component Design