Algorithmic Trading, Stochastic Control and Mutually Exciting Processes