Updated gitignore with eclipse ignores.
Added main class.