sinalgo project with DFS and alternate bit