Numerical Solution of Different Foundation Problems