Solutions to ANSI excercise questions