Cleaned up code.  Have to come up with new way.  Slow and stack over flow if input is 100.