added merge sort, openssl and completed inversion