A Survey on Intelligent Transportation Systems