Renamed CountSubstrings.java to Main and placed it in a folder