A literature review of Artificial Intelligence applications in railway systems