Major US indices all ended up over 1% on Tuesday; Construction on new homes rose 1.7%; Wal-Mart posts earnings that beat expectations