Calculation of solution of Boussinesq problem using Lie symmetries