added multiplication by doubling
added primitive concurrency to doublig algorithm