Added Number of Ones solution