first implementation of distance between strings
added a test for string difference and moved code into .hpp