Showing comments in a threaded view with replies

Using a recursive function  to parse the comments