Very easy. How far have you got and where are you stuck? What algorithm are you going to use?