Ancient civilizations used medical cannabis to remedy a number of ailments