made more presentable, worked on sqrt implementation