Fixed minor issues
Updated ex4