wrote two functions for receive

wrote two funtions for receiving characters