added toString method to newly created statement class
fixed cfg