Finished implementing first version of the connected component staff line detection algorithm.