Adds Heron of Alexandria function for calculating square roots and demonstrating exceptions