Update Unexported variable to exported with capitalization. Implemented BFS