Lab ass 1 : first 8 progs done (using inbuilt fucntions)