FINDING CONNECTED COMPONENTS IN AN IMAGE VIA DFS