Add BWT sample implementation

- Python, Perl