For tutorial you can check here.
This repository contains some simple implementations of the most popular algorithms.