Added Beat detection code

Beat detection code used in 32*32 matrix project. Muisc Visulizer