Added main method.
Added int x.