Changed single character uppercasing and lowercasing functions to reflect their parent functions' philosophical design
Removed unused functions
Simplified logic in getNextNode using a chained ternary operation
Added error logic for situations where files do not open correctly