Continuous gravitational wave algorithms for pulsar timing array