working on why 23 is not givingcorrect answer. should be completed. saving progress here in case of radical change