Playing with some algorithms