This is a python songtagger code that works if you have the switching algorithm