Added refactored sol for week 6 optional challenge

sure did