added a module to write three column bed file