added all algorithms to song.c