Adding simple D implementation

It's a super-straightforward one, but I didn't feel like overcomplicating it.