i'm having trouble putting together a program

any help would be much appreciated!
Write a Shell Program to automate the process of collecting assignments from the directories of students of any specified class.
The person running the program should be able to pass a parameter to the program specifying the group name of the class for which he/she wants to collect assignments.
The program should check to see if the assignment files are in a sub-directory called ‘assignment’ the home directory of each student in the specified group.
If no file is present in the subdirectory, or if the subdirectory does not exist, the program should print the userid of that student in a file called ‘logfile’ in the home directory of the person running the program. Logfile should have a first line with the following text ‘ List of users with no assignment on ‘todays date and time’
If files are present they should be copied to a subdirectory called ‘assignments’ in the home directory of the person running the program.