Added an implementation in D

And fixed a typo in testharness.sh and added benchmark for F# and D.