Beats machine for creating rhythms