Made output pretty and started work on SRTN algorithm