Utilization of algae in purification of wastewater