added user_helper.c - currently contains pseudocode