Learning to Capture Rocks using an Excavator: A Reinforcement Learning Approach with Guiding Reward Formulation