Added subroutine template

+ Added sub template

It's as up-to-date as my attempt