refactored assign_lonely_zeros method
realized assign_lonely_zero loop was terminating early, wrote new method to trigger end of loop