Add a toy example to demostrate how to use the sw algorithm.