creating a method to return all attempted lessons