Allocation for any size of data

Deleted function for allocation and seving of integer value. Instead of
this created function for allocation any size of data.