rspec testing for mergesort
semi-working cache? still seems slow