assignment 4 hard | ScratchStats