Random geometric graphs: An algorithmic perspective