added toString for SortedArrayDictionary
created gui interface