These are the various programs to test the subfunctions of the main code