A Reinforcement Learning Approach to Dairy Farm Battery Management using Q Learning