demo of basic algorithm done

@Klockz Vil du teste at alt er OK?