Functions for- Trace File Gen, Branch Trace Gen & ASCII input