ProgrammingLanguages. Assignment5 challenge problem attempt