Ranges now also work correctly. Samples file for ranges added (although the content doesn't make sense)