Then start with learning the algorithm: Wiki