Final Assignment with all Test Cases