Update priya.cpp

Added new method to file