calculate_intensity.R: first draft of the prepareBamFiles function

Signed-off-by: Charles Joly Beauparlant <Charles.Joly-Beauparlant@crchul.ulaval.ca>