Updated subroutines file

Added more in-depth syntax examples, including nested arrays.