I guess I had a friend staying overnight.
( I ( ( guess ( I ( had ( ( a friend ) ( staying overnight ) ) ) ) ) . ) )
(ROOT (S (NP (PRP I)) (VP (VBP guess) (SBAR (S (NP (PRP I)) (VP (VBD had) (NP (NP (DT a) (NN friend)) (VP (VBG staying) (ADVP (RB overnight)))))))) (. .)))
My friend slept through the night here. 
( ( My friend ) ( ( ( slept ( through ( the night ) ) ) here ) . ) )
(ROOT (S (NP (PRP$ My) (NN friend)) (VP (VBD slept) (PP (IN through) (NP (DT the) (NN night))) (ADVP (RB here))) (. .)))