A procedure for the solution of general contact problems for the elastic half-space