transformer implementation

here is a implementation of transformers to compare.

DISCUSS!!!! :smile: