Added some RULES and improved 'fromListWithDefault' algorithm to take advantage of the 'replicate' function for binary lists, which has logarithmic asymptotic complexity.