[Java] Clean & Concise Code
```\nclass BrowserHistory {\n    static List list;\n    int i;\n    int j;\n    public BrowserHistory(String homepage) {\n        list = new ArrayList<>();\n   
```\nclass BrowserHistory {\n    static List<String> list;\n    int i;\n    int j;\n    public BrowserHistory(String homepage) {\n        list = new ArrayList<>();\n        list.add(homepage);\n        i = 0;\n        j = 0;\n    }\n    \n    public void visit(String url) {\n        if(i < list.size() - 1) list.set(i + 1, url);\n        else list.add(url);\n        i++;\n        j = i;\n    }\n    \n    public String back(int steps) {\n        i = Math.max(0, i - steps);\n        return list.get(i);\n    }\n    \n    public String forward(int steps) {\n        i = Math.min(j, i + steps);\n        return list.get(i);\n    }\n}\n
[]