LoadBeat function

Builds an array of beats positions from different type of files