Towards a framework to make robots learn to dance