Adds Gray counter homework