added function to convert degree to DMS (degrees minutes seconds)