task 1 done

have to work of freeing memory