Create bfs.cpp

Breadth first search algorithm demo.