Added a Python implementation of the "NumberOfOnes" problem