some exercises from class asignments