Flow control in place
Got the flow control worked out, just need to get my functions to throw actual errors now instead of just strings.