A two-dimensional model for mesons