added Trap.hs which i will use for halt, error, and throw
more work on 'new' and used Trap for halt, error, and throw