Fixed minor typo in add_ascii() and added merge() function to merge databases.
Got merge() function working but it isn't fast enough yet.