Update Language.php

Adding a method to get the writing direction of the language