Substitute teacher arrested after child porn found on device