Created general solution skeleton.