added function to copy memory from host to device, device to host,
updated make file