adding temporalPooler file
Implementing tp constructor method
adding segment file