quick and dirty sqrt program