Root class

Square root class written.