Remaining algorithm programs

BFS program added. Please don't close this PR immediately, I'll be working on it whenever I get time.