implemented basic musical sequence class functionalities