python basic skills certification test hackerrank solution dominant cells