AnD assignment 2