SBSC: Step-By-Step Coding for Improving Mathematical Olympiad Performance