Inducing Functions through Reinforcement Learning without Task Specification