He learnt his trade first under the direction of a masterly fresco painter , Domenico Ghirlandaio , known for two great fresco cycles in the Sassetti Chapel and Tornabuoni Chapel , and for his contribution to the cycle of paintings on the walls of the Sistine Chapel .