a simple implementation of google directions