Marine stands guard at friend's funeral