Removed history array (should be handled by user), removed unused array declaration, removed toLower call, instead now just checking for uppercase in the first loop as well.
Fixed inconsistent roll return, now always returns object with rolls array, and total int.