solutions for codeIQ