play_sound function

Play a sound (if possible)