Mapper Functioning for Hadoop Streaming