Updated assignment to show previous attempts and prevent resubmission of an already attempted answer (Fixed #3)